
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 Phonetextmessage 分页列表
*/
export function getPhonetextmessagePagination(data: any) {
  return axios.get(`${context}/phonetextmessage/pagination`, { params: data });
}


/**
 * 获取 Phonetextmessage 所有数据
*/
export function getPhonetextmessageAllList(data: any) {
  return axios.get(`${context}/phonetextmessage/all`, { params: data });
}


/**
 * 获取 Phonetextmessage 详情
*/
export function getPhonetextmessageDetailById(id: any) {
  return axios.get(`${context}/phonetextmessage/${id}`, { params:{id} });
}


/**
 * 新增 Phonetextmessage
*/
export function addPhonetextmessage(data: any) {
  return axios.post(`${context}/phonetextmessage`, data);
}

/**
 * 修改 Phonetextmessage
*/
export function updatePhonetextmessage(data: any) {
  return axios.put(`${context}/phonetextmessage`, data);
}

/**
 * 删除 Phonetextmessage
*/
export function batchRemovePhonetextmessage(data: any) {
  return axios.post(`${context}/phonetextmessage/batchRemove`, data);
}

    